package com.zqwh.xtool.api.online;

import com.zqwh.yj.sdk.utils.httpRequest.beans.HttpResult2;
import com.zqwh.xtool.domain.Msg;

import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by eason.yang on 2018/1/19.
 */
public interface HeartbeatApi {

    /**
     * 设备心跳
     * @return
     */
    @POST("device/heartbeat/{devId}")
    Observable<HttpResult2<Msg>> heartbeat(@Path("devId") Long devId);
}
